package com.docking.heylo.dao.mapper;

import com.docking.heylo.dao.entity.SysUser;
import com.docking.heylo.dao.entity.SysUserExample;
import java.util.List;
import java.util.Map;

import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Param;

public interface SysUserMapper {
    long countByExample(SysUserExample example);

    int deleteByExample(SysUserExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(SysUser record);

    int insertSelective(SysUser record);

    List<SysUser> selectByExample(SysUserExample example);

    SysUser selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") SysUser record, @Param("example") SysUserExample example);

    int updateByExample(@Param("record") SysUser record, @Param("example") SysUserExample example);

    int updateByPrimaryKeySelective(SysUser record);

    int updateByPrimaryKey(SysUser record);

    List<Map<String,Object>> sysUserList(@Param("userName") String userName,
                                             @Param("phone") String phone, @Param("realName") String realName);

    Map<String, Object> registerStatistics();
}